import * as requestService from './../utils/requestService';

export function login(params = {}) {
  let url = '/user/login'
  return requestService.post(url, {
    ...params
  })
}


export function bind(params = {}) {
  let url = '/user/bind'
  return requestService.post(url, {
    ...params
  })
}

export function phoneLogin(params = {}) {
  let url = '/user/phone_login'
  return requestService.post(url, {
    ...params
  })
}
